package com.wj.ch3.aware;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @program: wj_springBoot
 * @description: 测试
 * @author: wj
 * @create: 2021-10-25 15:40
 **/
public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AwareConfig.class);

        AwareService bean = context.getBean(AwareService.class);
        bean.outputResult();
        context.close();
    }
}
